<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>打印退市事件信息单</title>
		<link rel="stylesheet" type="text/css" href="../../../Themes/default/easyui.css">
		<link rel="stylesheet" type="text/css" href="../../../Themes/icon.css">
		<link rel="stylesheet" type="text/css" href="../../../CSS/demo.css">
		<link rel="stylesheet" type="text/css" href="../../../CSS/common.css">
		<link rel="stylesheet" type="text/css" href="../../../CSS/print.css">
		<script type="text/javascript" src="../../../JS/common.js"></script>
		<script type="text/javascript" src="../../../JS/jquery.min.js"></script>
		<script type="text/javascript" src="../../../JS/jquery.easyui.min.js"></script>
		<script type="text/javascript" src="../../../JS/finance.js"></script>
		<script type="text/javascript" src="../../../JS/LogisticsShareFunction/PrintShareFunction.js"></script>
	
	</head>
	<body>
		<div  class="div_print_info_portait">
			<h1 align="center">高水农副产品批发有限公司市管中心</h1>
			<h1 align="center">退市事件处理记录表</h1>
			<form id="ff" method="post">
				<table cellspacing="4" style="margin-top: 10px;margin-left: 0px;margin-bottom: 10px;">
				<tr>
					<td>编号</td>
					<td><input name="ORDER_NO" style="border: none;" ></td>
				</tr>
				</table>
				<table cellpadding="4" class="altrowstable printtable">
					<tr>
						<td width="15%">发生时间</td>
						<td width="35%">
							<input class="print_text_style" name="TIME"/ >
						</td>
						<td width="15%">产品种类</td>
						<td width="35%">
							<input  class="print_text_style" name="CATEGORY"/ >
						</td>
					</tr>
					<tr>
						<td>产品名称</td>
						<td>
							<input class="print_text_style" name="PRODUCT" />
						</td>
						<td>进货日期</td>
						<td>
							<input class="print_text_style" name="PURCHASEDATE"/ >
						</td>
					</tr>
					<tr>
						<!--<td>进货数量</td>
						<td>
							<input  class="print_text_style" name="QUANTITY"/>
						</td>-->
						<td>产地</td>
						<td>
							<input class="print_text_style" name="ORIGIN"/>
						</td>
						<td>抽检人员</td>
						<td>
							<input class="print_text_style" name="INSPECTOR" />
						</td>
					</tr>
					<tr>
						<td>抽检机构</td>
						<td>
							<input class="print_text_style" name="INSPECTION"/>
						</td>
						<td>抽检时间</td>
						<td>
							<input class="print_text_style" name="INSPECT_TIME"/>
						</td>
					</tr>
					<tr>
						<td>经销商</td>
						<td>
							<input class="print_text_style" name="DISTRIBUTOR"/>
						</td>
						<td>经办人</td>
						<td>
							<input class="print_text_style" name="OPERATOR"/>
						</td>
					</tr>
					
					<tr>
						<td>处理结果</td>
						<td colspan="3">
							<input class="print_text_style" name="PROCEESED"/>
						</td>
					</tr>
					<tr>
						<td>退出原因</td>
						<td colspan="3">
							<input class="print_text_style"  name="REASON" />
						</td>
					</tr>
					<tr>
						<td>备注</td>
						<td colspan="5">
							<input class="print_text_style" name="MEMO" style="width:100%;height:30px"/>
						</td>
					</tr>
				</table>
				<table id="OrderInforTable" class="altrowstable printtable" style="margin-top: 0px;">
					<tr>
						<th>
							<div name="NAME">姓名</div>
						</th>
						<th>
							<div name="REGION_TYPE">区域类型</div>
						</th>
						<th>
							<div name="REGION_NAME">区域名称</div>
						</th>
						<th>
							<div name="HOUSE_NUMBER">摊位编号</div>
						</th>
						<th>
							<div name="QUANTITY">进货数量</div>
						</th>
					</tr>
				</table>
			</form>
		</div>
	</body>
	<script type="text/javascript">
		var id = getID(); /*得到当前界面的id*/
		$(document).ready(function(){
		loadRemote();
		});
		function loadRemote() {
			$.ajax({
				type: "get",
				url: RemoteLinkAddress + "/market/delist/findbyid.do?ID=" + id,
				dataType: "json",
				success: function(result) {
					getPrintFormData(result);
					var newTd = new Array();
					var _data = result.rows;
					for(var i = 0; i < _data.length; i++) {
						var newTr = OrderInforTable.insertRow();
						newTd[0] = newTr.insertCell()
						if(_data[i].NAME != undefined){
							newTd[0].innerText = _data[i].NAME;
						}
						
						newTd[1] = newTr.insertCell();
						if(_data[i].REGION_TYPE != undefined){
							newTd[1].innerText = _data[i].REGION_TYPE;
						}
						
						newTd[2] = newTr.insertCell();
						if(_data[i].REGION_NAME != undefined){
							newTd[2].innerText = _data[i].REGION_NAME;
						}
						
						newTd[3] = newTr.insertCell();
						if(_data[i].HOUSE_NUMBER != undefined){
							newTd[3].innerText = _data[i].HOUSE_NUMBER;
						}
						
						newTd[4] = newTr.insertCell();
						if(_data[i].QUANTITY != undefined){
							newTd[4].innerText = _data[i].QUANTITY;
						}
					}
				}
			});
		} 
	</script>
</html>
